package pojo;

import java.math.BigDecimal;
import java.util.Date;

public class Source {
    private Date visitingDate; // 出诊日期
    private String weekday; // 星期
    private String doctorName; // 医生姓名
    private String title; // 职称
    private String department; // 科室
    private String morningWork; // 上午出诊情况
    private String afternoonWork; // 下午出诊情况
    private String feeType; // 诊费类型
    private BigDecimal amount; // 金额
    private Integer remainingSources; // 剩余号源数量

    // Getters and Setters
    public Date getVisitingDate() {
        return visitingDate;
    }

    public void setVisitingDate(Date visitingDate) {
        this.visitingDate = visitingDate;
    }

    public String getWeekday() {
        return weekday;
    }

    public void setWeekday(String weekday) {
        this.weekday = weekday;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getMorningWork() {
        return morningWork;
    }

    public void setMorningWork(String morningWork) {
        this.morningWork = morningWork;
    }

    public String getAfternoonWork() {
        return afternoonWork;
    }

    public void setAfternoonWork(String afternoonWork) {
        this.afternoonWork = afternoonWork;
    }

    public String getFeeType() {
        return feeType;
    }

    public void setFeeType(String feeType) {
        this.feeType = feeType;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Integer getRemainingSources() {
        return remainingSources;
    }

    public void setRemainingSources(Integer remainingSources) {
        this.remainingSources = remainingSources;
    }

    @Override
    public String toString() {
        return "Source{" +
                "visitingDate=" + visitingDate +
                ", weekday='" + weekday + '\'' +
                ", doctorName='" + doctorName + '\'' +
                ", title='" + title + '\'' +
                ", department='" + department + '\'' +
                ", morningWork='" + morningWork + '\'' +
                ", afternoonWork='" + afternoonWork + '\'' +
                ", feeType='" + feeType + '\'' +
                ", amount=" + amount +
                ", remainingSources=" + remainingSources +
                '}';
    }
}